<h1>Listing actualities</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Content</th>
    <th>User</th>
  </tr>

<% @actualities.each do |actuality| %>
  <tr>
    <td><%=h actuality.title %></td>
    <td><%=h actuality.content %></td>
    <td><%=h actuality.user_id %></td>
    <td><%= link_to 'Show', actuality %></td>
  </tr>
<% end %>
</table>

<% content_for :header do %>
  <%= auto_discovery_link_tag :atom, "actualities.atom" %>
<% end %>